From 96d5ea96fd587f256ead5fc5ce76c9f2be6c63d4 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 21 Jun 2011 23:34:38 -0400 Subject: [PATCH] Add a lockbutton testcase --- tests/a11y/Makefile.am | 3 +- tests/a11y/lockbutton.txt | 112 ++++++++++++++++++++++++++++++++++++++ tests/a11y/lockbutton.ui | 13 +++++ 3 files changed, 127 insertions(+), 1 deletion(-) create mode 100644 tests/a11y/lockbutton.txt create mode 100644 tests/a11y/lockbutton.ui diff --git a/tests/a11y/Makefile.am b/tests/a11y/Makefile.am index 1b38420769..2f4f4abb04 100644 --- a/tests/a11y/Makefile.am +++ b/tests/a11y/Makefile.am @@ -37,4 +37,5 @@ EXTRA_DIST += \ messagedialog.ui messagedialog.txt \ expander.ui expander.txt \ assistant.ui assistant.txt \ - pickers.ui pickers.txt + pickers.ui pickers.txt \ + lockbutton.ui lockbutton.txt diff --git a/tests/a11y/lockbutton.txt b/tests/a11y/lockbutton.txt new file mode 100644 index 0000000000..208ac56c2b --- /dev/null +++ b/tests/a11y/lockbutton.txt @@ -0,0 +1,112 @@ +window1 + "window" + index: 0 + state: enabled resizable sensitive showing visible + toolkit: gail + + layer: window + alpha: 1 + button1 + "push button" + parent: window1 + index: 0 + description: Dialog is unlocked. +Click to prevent further changes + state: enabled focusable sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: (null) + character count: 0 + caret offset: 0 + + image size: 16 x 16 + image description: (null) + + action 0 name: click + action 1 name: press + action 2 name: release + Lock + "label" + parent: button1 + index: 0 + name: Lock + state: enabled multi-line sensitive showing visible + toolkit: gail + + layer: widget + alpha: 1 + + text: Lock + character count: 4 + caret offset: 0 + default attributes: left-margin: 0 + right-margin: 0 + indent: 0 + invisible: false + editable: false + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + bg-full-height: 0 + scale: 1 + rise: 0 + underline: none + strikethrough: false + bg-stipple: false + fg-stipple: false + fg-color: + bg-color: + wrap-mode: word + justification: left + size: + weight: + family-name: + stretch: + variant: + style: + language: + direction: + Unlock + "label" + parent: button1 + index: 1 + name: Unlock + state: enabled multi-line sensitive + toolkit: gail + + layer: widget + alpha: 1 + + text: Unlock + character count: 6 + caret offset: 0 + default attributes: left-margin: 0 + right-margin: 0 + indent: 0 + invisible: false + editable: false + pixels-above-lines: 0 + pixels-below-lines: 0 + pixels-inside-wrap: 0 + bg-full-height: 0 + scale: 1 + rise: 0 + underline: none + strikethrough: false + bg-stipple: false + fg-stipple: false + fg-color: + bg-color: + wrap-mode: word + justification: left + size: + weight: + family-name: + stretch: + variant: + style: + language: + direction: diff --git a/tests/a11y/lockbutton.ui b/tests/a11y/lockbutton.ui new file mode 100644 index 0000000000..7df14c8373 --- /dev/null +++ b/tests/a11y/lockbutton.ui @@ -0,0 +1,13 @@ + + + + + False + popup + + + True + + + + -- 2.30.2